Matthias Clasen [Mon, 4 Apr 2005 06:28:07 +0000 (06:28 +0000)]
Add docs.
2005-04-04 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_class_init):
* gtk/gtkruler.c (gtk_ruler_class_init): Add docs.
* gtk/gtktoggletoolbutton.c: Add an active property.
Matthias Clasen [Mon, 4 Apr 2005 05:15:32 +0000 (05:15 +0000)]
Allow completion popups to be wider than the entry. (#131916, Ross Burton)
2005-04-04 Matthias Clasen <mclasen@redhat.com>
Allow completion popups to be wider than the entry. (#131916,
Ross Burton)
* gtk/gtkentrycompletion.[hc]: Add a boolean popup-set-width property.
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
Don't force the popup to have the same width as the entry if
popup-set-width is FALSE.
* gtk/gtk.symbols: Add new functions.
Matthias Clasen [Mon, 4 Apr 2005 04:36:04 +0000 (04:36 +0000)]
Use gtk_accel_map_change_entry(), so that reusing the same action name
2005-04-04 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
Use gtk_accel_map_change_entry(), so that reusing the same
action name works. (#170727, Paolo Borelli)
Tor Lillqvist [Mon, 4 Apr 2005 00:12:26 +0000 (00:12 +0000)]
New debugging function, to log a clipboard format name symbolically.
2005-04-04 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkmain.c (_gdk_win32_cf_to_string): New debugging
function, to log a clipboard format name symbolically.
(_gdk_win32_data_to_string): Also new, to log random data bytes.
Implement delayed rendering on Win32, specifically for transfering
images through the clipboard from GTK+ apps to other
apps (#168173, implementation by Ivan Wong):
* gdk/win32/gdkevents-win32.c (gdk_event_translate):
Handle WM_RENDERFORMAT.
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkglobals-win32.c: Add _format_atom_table,
_delayed_rendering_data and _image_bmp.
* gdk/win32/gdkmain-win32.c: Initialize _image_bmp.
* gdk/win32/gdkproperty-win32.c (gdk_property_change):
Accept formats other than GDK_TARGET_STRING or _utf8_string, and
assume they are handled through delayed rendering.
* gdk/win32/gdkselection-win32.c (gdk_selection_convert):
Return all available formats (including those registered by GTK+
apps) on request_targets.
(gdk_selection_property_get): We should append a zero byte like
X11 does.
(gdk_win32_selection_add_targets): New function, for
gtkselection's use. Win32 requires that the clipboard owner
registers all valid formats even if the owner wants delayed
rendering.
(_gdk_win32_selection_convert_to_dib): New function. Convert
images to DIB using gdk-pixbuf.
* gdk/win32/gdkwin32.h: Declare gdk_win32_selection_add_targets().
* gtk/gtkselection.c (gtk_selection_add_target,
gtk_selection_add_targets): Call gdk_win32_selection_add_targets()
to register target formats.
* gdk/gdk.symbols: Add gdk_win32_selection_add_targets().
Raphael Higino [Sun, 3 Apr 2005 22:59:47 +0000 (22:59 +0000)]
Updated pt_BR translation
Hans Breuer [Sun, 3 Apr 2005 21:03:08 +0000 (21:03 +0000)]
[merged from gtk-2-6 branch] let dash_offset shift the start of the line
2005-04-03 Hans Breuer <hans@breuer.org>
[merged from gtk-2-6 branch]
* gdk/win32/gdkdrawable-win32.c : let dash_offset shift the start of
the line pattern not the start of the line. Fixes bug #171641.
* gtk/makefile.msc.in : follow .symbols changes
* gdk/win32/gdkwindow-win32.c : declare and resolve GetAncestor()
dynamically. (It is not available in _WIN_VER <= 0x0400)
* gdk/win32/makefile.msc : removed gdkpango-win32.obj
* gtk/gtkhsv.c gtk/gtkstyle.c : use G_PI instead of M_PI
[also applied to gtk-2-6 branch]
* gdk/makefile.msc gdk-pixbuf/makefile.msc : handle gdk*alias.def
* gdk/makefile.msc.in : add gtkmnemonichash.obj
* test/testgtk.c(set_parent_signal) : use g_message instead of
g_print to keep the 'testgtk --bench=all' output clean
Adam Weinberger [Sun, 3 Apr 2005 18:10:46 +0000 (18:10 +0000)]
Updated Canadian English translation.
2005-04-03 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.
Matthias Clasen [Sun, 3 Apr 2005 07:31:58 +0000 (07:31 +0000)]
Add a "metric" property.
2005-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkruler.c: Add a "metric" property.
Matthias Clasen [Sun, 3 Apr 2005 07:11:09 +0000 (07:11 +0000)]
Add a "group" property like the one found in radio buttons.
2005-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkradiomenuitem.c: Add a "group" property like
the one found in radio buttons.
* gtk/gtkradiobutton.c (gtk_radio_button_class_init): Fix
a typo in the docs.
(gtk_radio_button_set_group): Add change notification.
Matthias Clasen [Fri, 1 Apr 2005 21:20:58 +0000 (21:20 +0000)]
Move documentation inline, document if add_target functions append or
2005-04-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkselection.c: Move documentation inline, document
if add_target functions append or prepend. (#172350,
Jon-Kare Hellan)
Matthias Clasen [Fri, 1 Apr 2005 20:53:04 +0000 (20:53 +0000)]
Make gtk_combo_box_get_active_text do the right thing for GtkComboBoxEntry
2005-04-01 Matthias Clasen <mclasen@redhat.com>
Make gtk_combo_box_get_active_text do the right thing for
GtkComboBoxEntry (#171373, Robert Staudinger)
* gtk/gtkcombobox.h: Add a get_active_text vfunc.
* gtk/gtkcombobox.c (gtk_combo_box_real_get_active_text): And
implement it here.
* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text):
Implement get_active_text by always returning the content of
the entry.
Adam Weinberger [Thu, 31 Mar 2005 21:48:57 +0000 (21:48 +0000)]
Updated Canadian English translation.
2005-03-31 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.
Michael Natterer [Thu, 31 Mar 2005 17:04:27 +0000 (17:04 +0000)]
added gtk_menu_set/get_take_focus().
2005-03-31 Michael Natterer <mitch@gimp.org>
* gtk/gtk-sections.txt: added gtk_menu_set/get_take_focus().
* gtk/tmpl/gtkmenushell.sgml: regenerated.
Sven Neumann [Thu, 31 Mar 2005 17:04:25 +0000 (17:04 +0000)]
Merged from gtk-2-6:
2005-03-31 Sven Neumann <sven@gimp.org>
Merged from gtk-2-6:
* gtk/gtkbutton.c
* gtk/gtkiconview.c: fixed gtk-doc comments.
Michael Natterer [Thu, 31 Mar 2005 17:02:49 +0000 (17:02 +0000)]
added gtk/gtkmenushell.c
2005-03-31 Michael Natterer <mitch@gimp.org>
* POTFILES.in: added gtk/gtkmenushell.c
Michael Natterer [Thu, 31 Mar 2005 17:02:19 +0000 (17:02 +0000)]
Allow to pop up menus without grabbing the keyboard. Useful for stuff like
2005-03-31 Michael Natterer <mitch@gimp.org>
Allow to pop up menus without grabbing the keyboard. Useful for
stuff like virtual keyboards. Fixes bug #159890
* gtk/gtk.symbols
* gtk/gtkmenushell.[ch]: added boolean property "take-focus"
and public API gtk_menu_shell_set/get_take_focus().
* gtk/gtkmenu.c (gtk_menu_popup)
(popup_grab_on_window): don't grab the keyboard if take_focus
is FALSE.
* gtk/gtkmenuitem.c (_gtk_menu_item_popup_submen): propagate the
parent menu_shell's take_focus property to the submenu which is
about to be popped up.
Miloslav Trmac [Thu, 31 Mar 2005 09:10:49 +0000 (09:10 +0000)]
Updated Czech translation.
2005-03-31 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
Steven Michael Murphy [Thu, 31 Mar 2005 04:44:03 +0000 (04:44 +0000)]
Added new entries to Kinyarwanda (rw) po file, from bigger compendium.
Added new entries to Kinyarwanda (rw) po file, from bigger compendium.
Steven Michael Murphy [Thu, 31 Mar 2005 04:41:36 +0000 (04:41 +0000)]
Rolling in more translations (fuzzy&exact) from a bigger compendium.
Rolling in more translations (fuzzy&exact) from a bigger compendium.
Steven Michael Murphy [Thu, 31 Mar 2005 04:39:08 +0000 (04:39 +0000)]
Rolling in more exact & fuzzy translations from a bigger compendium.
Rolling in more exact & fuzzy translations from a bigger compendium.
Estêvão Samuel Procópio [Wed, 30 Mar 2005 22:33:22 +0000 (22:33 +0000)]
Updated Brazilian Portuguese Translation.
Federico Mena Quintero [Wed, 30 Mar 2005 21:48:10 +0000 (21:48 +0000)]
Merged from gtk-2-6:
2005-03-30 Federico Mena Quintero <federico@ximian.com>
Merged from gtk-2-6:
Fix #170755:
* gtk/gtktreeview.c (gtk_tree_view_row_changed): Only stop editing
if the row which changed is the same as the row being edited.
Estêvão Samuel Procópio [Wed, 30 Mar 2005 20:09:39 +0000 (20:09 +0000)]
Updating Brazilian Portuguese translation.
Matthias Clasen [Wed, 30 Mar 2005 19:34:37 +0000 (19:34 +0000)]
Avoid bus errors due to unaligned access. (#168173, Morten Welinder, Ivan
2005-03-30 Matthias Clasen <mclasen@redhat.com>
* io-bmp.c: Avoid bus errors due to unaligned access. (#168173,
Morten Welinder, Ivan Wong)
Matthias Clasen [Wed, 30 Mar 2005 18:20:59 +0000 (18:20 +0000)]
Make enable_search control only typeahead, not C-f. (#170435, Sven
2005-03-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
Make enable_search control only typeahead, not C-f. (#170435,
Sven Neumann)
(gtk_tree_view_start_interactive_search): Pass keybinding == TRUE.
Matthias Clasen [Wed, 30 Mar 2005 17:40:39 +0000 (17:40 +0000)]
Include cairo.h
2005-03-30 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkpixbuf.h: Include cairo.h
Matthias Clasen [Wed, 30 Mar 2005 17:37:42 +0000 (17:37 +0000)]
Don't accept n_targets == -1. (clipboard_unset): unref the old_data, not
2005-03-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkclipboard.c (gtk_clipboard_set_can_store):
Don't accept n_targets == -1.
(clipboard_unset): unref the old_data, not the
user_data which we have just cleared. (#172038, Sven
Neumann)
Matthias Clasen [Wed, 30 Mar 2005 17:10:00 +0000 (17:10 +0000)]
Forgotten Changelog
Matthias Clasen [Wed, 30 Mar 2005 17:09:13 +0000 (17:09 +0000)]
Don't segfault if somebody tries to popup an unrealized combo box.
2005-03-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_popup): Don't
segfault if somebody tries to popup an unrealized
combo box. (#172031, Felipe Heidrich)
Tor Lillqvist [Wed, 30 Mar 2005 08:25:45 +0000 (08:25 +0000)]
Fix event filter handling. If an event filter (global, client message
2005-03-30 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix event
filter handling. If an event filter (global, client message
filter, of window-specific) returns GDK_FILTER_CONTINUE,
continue as if nothing happened. If it returns
GDK_FILTER_REMOVE or GDK_FILTER_TRANSLATE, return TRUE from
gdk_event_translate() which means that DefWindowProc() will
not be called.
(gdk_event_translate): Fix client message handling. Append a
GDK_CLIENT_EVENT unless there is a filter that matches and returns
something other than GDK_FILTER_CONTINUE. (#135552)
Tor Lillqvist [Wed, 30 Mar 2005 08:07:45 +0000 (08:07 +0000)]
The state field should represent the state before the event, like on X11.
2005-03-30 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c (build_pointer_event_state): The
state field should represent the state before the event, like on
X11. (#169753)
Kwok-Koon Cheung [Wed, 30 Mar 2005 03:47:46 +0000 (03:47 +0000)]
Updated traditional Chinese translation from GNOME HK Team
* zh_TW.po: Updated traditional Chinese translation from GNOME HK Team
Matthias Clasen [Tue, 29 Mar 2005 06:04:18 +0000 (06:04 +0000)]
Document the need to refilter if parameters of the visibility function
2005-03-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func):
Document the need to refilter if parameters of the visibility function
change. (#169516, Olivier Sessink)
Matthias Clasen [Tue, 29 Mar 2005 05:21:26 +0000 (05:21 +0000)]
Fix the update areas for incremental loading of compressed tgas. (#171883,
2005-03-29 Matthias Clasen <mclasen@redhat.com>
* io-tga.c (parse_rle_data): Fix the update areas for incremental
loading of compressed tgas. (#171883, David Costanzo)
Søren Sandmann [Mon, 28 Mar 2005 20:28:43 +0000 (20:28 +0000)]
Don't invalidate areas that are covered by mapped input-output child
Mon Mar 28 15:13:42 2005 Søren Sandmann <sandmann@redhat.com>
* gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Don't
invalidate areas that are covered by mapped input-output child
windows. Bug 141380.
Matthias Clasen [Mon, 28 Mar 2005 19:32:07 +0000 (19:32 +0000)]
Sync to latest upstream, including fixes for matching against multiple
2005-03-28 Matthias Clasen <mclasen@redhat.com>
* xdgmimeglob.c: Sync to latest upstream,
including fixes for matching against multiple
extensions (eg .tar.gz) and for suffix
patterns which don't start with a dot.
Jeroen Zwartepoorte [Mon, 28 Mar 2005 17:18:00 +0000 (17:18 +0000)]
Make the preview label ellipsize so the dialog layout stays constant.
2005-03-28 Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>
* gtk/gtkfilechooserdefault.c: (update_preview_widget_visibility): Make
the preview label ellipsize so the dialog layout stays constant.
(#171398)
Matthias Clasen [Mon, 28 Mar 2005 06:03:42 +0000 (06:03 +0000)]
Don't pop up the context menu of the search entry if it is not visible.
2005-03-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up
the context menu of the search entry if it is not visible.
(#169534, Billy Biggs)
Matthias Clasen [Mon, 28 Mar 2005 04:16:10 +0000 (04:16 +0000)]
Use the correct update regions for compressed bmps. (#150664, Owen Taylor,
2005-03-27 Matthias Clasen <mclasen@redhat.com>
* io-bmp.c (DoCompressed): Use the correct update regions for
compressed bmps. (#150664, Owen Taylor, test images provided
by David Costanzo)
Manish Singh [Mon, 28 Mar 2005 04:01:25 +0000 (04:01 +0000)]
reject 0-sized buffers as corrupt header data. Fixes bug #171707.
Sun Mar 27 19:59:52 2005 Manish Singh <yosh@gimp.org>
* io-bmp.c (grow_buffer): reject 0-sized buffers as corrupt header
data. Fixes bug #171707.
Raphael Higino [Sun, 27 Mar 2005 21:30:52 +0000 (21:30 +0000)]
Updated pt_BR translation
Tor Lillqvist [Sun, 27 Mar 2005 19:20:51 +0000 (19:20 +0000)]
Apparently AC_LIBTOOL_WIN32_DLL isn't deprecated after all, and in fact
2005-03-27 Tor Lillqvist <tml@novell.com>
* configure.in: Apparently AC_LIBTOOL_WIN32_DLL isn't deprecated
after all, and in fact necessary with HEAD libtool.
Francisco Javier F. Serrador [Sat, 26 Mar 2005 23:02:41 +0000 (23:02 +0000)]
Updated Spanish translation.
2005-03-27 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
Francisco Javier F. Serrador [Sat, 26 Mar 2005 15:48:43 +0000 (15:48 +0000)]
Updated Spanish translation.
2005-03-26 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
Adam Weinberger [Sat, 26 Mar 2005 07:25:49 +0000 (07:25 +0000)]
Updated Canadian English translation.
2005-03-26 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.
Matthias Clasen [Sat, 26 Mar 2005 05:49:15 +0000 (05:49 +0000)]
Use canonical names for g_object_notify() as well.
2005-03-26 Matthias Clasen <mclasen@redhat.com>
* gtk/*.c:
* gdk/gdkdisplaymanager.c:
Use canonical names for g_object_notify() as well.
Tor Lillqvist [Thu, 24 Mar 2005 15:14:12 +0000 (15:14 +0000)]
Include the -mms-bitfields flag in GTK_EXTRA_CFLAGS on Win32, so that it
2005-03-24 Tor Lillqvist <tml@novell.com>
* configure.in (GTK_EXTRA_CFLAGS): Include the -mms-bitfields flag
in GTK_EXTRA_CFLAGS on Win32, so that it gets included in the
gtk+-2.0.pc file and automatically used by dependents. MSVC users
who use pkg-config will have to manually edit it out from
gtk+-2.0.pc, sorry. Maybe pkg-config should be enhanced to support
some kind of conditionals in .pc files?
Matthias Clasen [Wed, 23 Mar 2005 14:07:21 +0000 (14:07 +0000)]
Remove a call whose result was unused and leaked. (#170776, Kjartan
2005-03-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (update_combo_box): Remove
a call whose result was unused and leaked. (#170776,
Kjartan Maraas)
Matthias Clasen [Wed, 23 Mar 2005 14:03:43 +0000 (14:03 +0000)]
Some cleanups to the GtkDialog code: (#170746, Morten Welinder) Simplify,
2005-03-23 Matthias Clasen <mclasen@redhat.com>
Some cleanups to the GtkDialog code: (#170746,
Morten Welinder)
* gtk/gtkdialog.c (action_widget_activated): Simplify,
use _gtk_dialog_get_response_for_widget.
(gtk_dialog_add_action_widget): Use the correct signal
id for non-buttons.
(gtk_dialog_set_response_sensitive):
(gtk_dialog_set_default_response): Use get_response_data.
(gtk_dialog_run): Don't disconnect the signals if the
dialog was destroyed while running.
Manish Singh [Tue, 22 Mar 2005 22:17:16 +0000 (22:17 +0000)]
Use g_return_if_fail, not g_return_val_if_fail.
Tue Mar 22 14:16:31 2005 Manish Singh <yosh@gimp.org>
* gtk/gtkfilesystem.c (gtk_file_system_set_bookmark_label):
Use g_return_if_fail, not g_return_val_if_fail.
Matthias Clasen [Tue, 22 Mar 2005 20:23:19 +0000 (20:23 +0000)]
Implement bookmark renaming (#136216, Sean Middleditch)
2005-03-22 Matthias Clasen <mclasen@redhat.com>
Implement bookmark renaming (#136216, Sean Middleditch)
* gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Add
get_bookmark_label and set_bookmark_label vfuncs.
* gtk/gtkfilesystem.h:
* gtk/gtkfilesystem.c (gtk_file_system_set_bookmark_label):
(gtk_file_system_get_bookmark_label): Wrappers for the
vfuncs.
* gtk/gtk.symbols: Add new exported symbols.
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_set_bookmark_label):
(gtk_file_system_unix_get_bookmark_label): Implementations
for the Unix backend.
* gtk/gtkfilechooserdefault.c: Add a context menu to
the bookmarks pane, and allow to rename bookmarks.
Matthias Clasen [Tue, 22 Mar 2005 17:36:41 +0000 (17:36 +0000)]
Stop scrolling when the widget is unmapped. (#168791, Ryan Lortie)
2005-03-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpathbar.c (gtk_path_bar_unmap):
* gtk/gtkspinbutton.c (gtk_spin_button_unmap):
* gtk/gtknotebook.c (gtk_notebook_unmap):
* gtk/gtkrange.c (gtk_range_unmap): Stop scrolling when
the widget is unmapped. (#168791, Ryan Lortie)
Matthias Clasen [Tue, 22 Mar 2005 17:06:03 +0000 (17:06 +0000)]
Forgotten commit.
Matthias Clasen [Tue, 22 Mar 2005 02:14:55 +0000 (02:14 +0000)]
Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE
2005-03-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprivate.h: Define macros GTK_PARAM_READABLE,
GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE which are like
their G_ counterparts, but also mark the name, nick
and blurb as static.
* gtk/*.c: Mark param spec strings as static, using
the new macros.
Matthias Clasen [Mon, 21 Mar 2005 15:34:36 +0000 (15:34 +0000)]
Fix a typo
Matthias Clasen [Mon, 21 Mar 2005 06:05:18 +0000 (06:05 +0000)]
Fix typo
Matthias Clasen [Mon, 21 Mar 2005 06:04:01 +0000 (06:04 +0000)]
Fix a typo
Matthias Clasen [Mon, 21 Mar 2005 06:02:43 +0000 (06:02 +0000)]
: Mark param spec strings as static.
Matthias Clasen [Mon, 21 Mar 2005 05:17:10 +0000 (05:17 +0000)]
Mark param spec strings as static.
2005-03-21 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkpango.c (gdk_pango_renderer_class_init):
* gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): Mark
param spec strings as static.
Matthias Clasen [Mon, 21 Mar 2005 05:07:20 +0000 (05:07 +0000)]
Mark param spec strings as static.
2005-03-21 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf.c (gdk_pixbuf_class_init): Mark param spec strings
as static.
Manish Singh [Mon, 21 Mar 2005 02:42:16 +0000 (02:42 +0000)]
Shut up CVS
Tor Lillqvist [Sun, 20 Mar 2005 23:10:14 +0000 (23:10 +0000)]
Silence gcc warnings (unused variables, unhandled enum value in switch).
2005-03-21 Tor Lillqvist <tml@novell.com>
* modules/engines/ms-windows/*.c: Silence gcc warnings (unused
variables, unhandled enum value in switch). Use g_object_unref()
instead of deprecated gdk_gc_unref() and gdk_drawable_unref().
* modules/engines/ms-windows/xp_theme.c (xp_theme_map_gtk_state):
Add missing "case" keyword.
* modules/engines/ms-windows/Makefile.am: Link with -lgdi32
explicitly.
Tor Lillqvist [Sun, 20 Mar 2005 21:39:55 +0000 (21:39 +0000)]
Return the Terminal Services session number, window station name (always
2005-03-20 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): Return the
Terminal Services session number, window station name (always
"WinSta0" in interactive processes), and desktop name (typically
"Default"), concatenated with backslash separators.
(gdk_display_open): Accept only NULL or the string
gdk_display_get_name() returns as display name.
Manish Singh [Sun, 20 Mar 2005 07:53:16 +0000 (07:53 +0000)]
cast away the constness in the call to free().
Sat Mar 19 23:52:33 2005 Manish Singh <yosh@gimp.org>
* xdgmimeglob.c (_xdg_glob_hash_insert_text): cast away the constness
in the call to free().
Matthias Clasen [Sun, 20 Mar 2005 07:10:14 +0000 (07:10 +0000)]
Don't leak node->mime_type if we are reusing an existing node. (#170774,
2005-03-20 Matthias Clasen <mclasen@redhat.com>
* xdgmimeglob.c (_xdg_glob_hash_insert_text): Don't
leak node->mime_type if we are reusing an existing
node. (#170774, Kjartan Maraas)
Matthias Clasen [Sun, 20 Mar 2005 07:01:23 +0000 (07:01 +0000)]
Make PLT-reduction work with gcc4, and don't include everything in
2005-03-20 Matthias Clasen <mclasen@redhat.com>
Make PLT-reduction work with gcc4, and don't include
everything in gdkalias.h:
* gtk/grk.symbols: Group symbols by header and source file.
* gtk/makegtkalias.pl: Protect definitions by the same
preprocessor symbols used to guard the headers. Move
the alias declarations to a separate file which is
produced when calling makegtkalias.pl -def
* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
this file.
* gtk/*.c: Include gtkalias.h after the other headers,
include gtkaliasdef.c at the bottom.
* gtk/*.h: Small cleanups.
Soeren Sandmann [Sat, 19 Mar 2005 06:31:42 +0000 (06:31 +0000)]
Make right-clicks not pop up the menu.
Fri Mar 18 23:59:49 2005 Soeren Sandmann <sandmann@redhat.com>
* gtk/gtkmenutoolbutton.c (arrow_button_button_press_event_cb):
Make right-clicks not pop up the menu.
Owen Taylor [Fri, 18 Mar 2005 23:51:31 +0000 (23:51 +0000)]
Call cairo_surface_finish()
2005-03-18 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdrawable-x11.c (_gdk_x11_drawable_finish):
Call cairo_surface_finish()
* gdk/gdkinternals.c gdk/x11/gdkdrawable-x11.c: Remoev
_gdk_windowing_set_surface_device_offset().
Tor Lillqvist [Fri, 18 Mar 2005 10:21:51 +0000 (10:21 +0000)]
On WM_MOUSEMOVE, don't check if this process owns the active window. This
2005-03-18 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
WM_MOUSEMOVE, don't check if this process owns the active
window. This makes cross-application widget embedding work better.
On WM_MOVE, don't bother checking for window visibility.
* gdk/win32/gdkim-win32.c: Remove bogus empty doc comment. Remove
unused variables. Add some casts to silence gcc.
Owen Taylor [Fri, 18 Mar 2005 01:23:23 +0000 (01:23 +0000)]
Use cairo_set_device_offset().
2005-02-24 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c: Use cairo_set_device_offset().
* gdk/win32/gdkdrawable-win32.[ch] gdk/win32/gdkwindow-win32.c
gdk/win32/gdkpixmap-win32.c:
Add_gdk_win32_drawable_acquire/release_dc() to get a DC for the
drawable. Add _gdk_drawable_win32_finish() to clean up resources
when a drawable is destroyed.
* gdk/win32/gdkgc-win32.c gdk/win32/gdkdrawable-win32.c
(blit_from_pixmap) gdk/win32/gdkprivate-win32.h : Use
acquire/release_dc when getting a DC to use with a GC or for
blitting from a pixmap.
* gdk/win32/gdkdrawable-win32.[ch]: Implement ref_cairo_surface()
* gdk/win32/gdkpango-win32.c gdk/win32/gdkdrawable-win32.c Makefile.am:
Remove gdk_screen_get_pango_context(), draw_glyph[_transformed]
implementations.
* gdk/win32/gdkdrawable-win32.c: Remove
gdk_draw_rectangle_alpha_libgtk_only()
Owen Taylor [Thu, 17 Mar 2005 20:53:34 +0000 (20:53 +0000)]
Fix get_stipple_surface to actually work, set EXTEND_REPEAT on the stipple
2005-03-17 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpango.c: Fix get_stipple_surface to actually work, set
EXTEND_REPEAT on the stipple pattern.
Matthias Clasen [Thu, 17 Mar 2005 19:32:45 +0000 (19:32 +0000)]
Fix formatting in example in the docs. (#170611, Jianfei Wang)
2005-03-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_set_markup): Fix formatting
in example in the docs. (#170611, Jianfei Wang)
Matthias Clasen [Thu, 17 Mar 2005 18:37:35 +0000 (18:37 +0000)]
Clamp adjustment values on resize. (#170567, Tomislav Jonjic)
2005-03-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_size_allocate): Clamp
adjustment values on resize. (#170567, Tomislav Jonjic)
Matthias Clasen [Thu, 17 Mar 2005 18:13:46 +0000 (18:13 +0000)]
Don't crash if there is no cache. (#170652, Diego Gonzalez)
2005-03-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkicontheme.c (theme_lookup_icon): Don't crash
if there is no cache. (#170652, Diego Gonzalez)
Matthias Clasen [Thu, 17 Mar 2005 18:09:24 +0000 (18:09 +0000)]
Make inline completion insert the prefix at the right spot. (#170146, Doug
2005-03-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
Make inline completion insert the prefix at the
right spot. (#170146, Doug Quale)
Tor Lillqvist [Thu, 17 Mar 2005 12:05:16 +0000 (12:05 +0000)]
gdk_key is a typedef, not a struct tag.
2005-03-17 Tor Lillqvist <tml@novell.com>
* gdk/gdkkeynames.c: gdk_key is a typedef, not a struct tag.
Adam Weinberger [Thu, 17 Mar 2005 05:31:12 +0000 (05:31 +0000)]
Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
Matthias Clasen [Thu, 17 Mar 2005 03:23:23 +0000 (03:23 +0000)]
Typo fix in the docs.
2005-03-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprogressbar.c (gtk_progress_bar_get_ellipsize):
Typo fix in the docs.
* gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_set_arrow_tooltip):
Typo fix in the docs.
* gtk/gtkiconview.c (gtk_icon_view_get_columns)
(gtk_icon_view_set_columns, gtk_icon_view_set_item_width)
(gtk_icon_view_get_item_width, gtk_icon_view_set_spacing)
(gtk_icon_view_get_spacing, gtk_icon_view_set_row_spacing)
(gtk_icon_view_set_column_spacing, gtk_icon_view_get_row_spacing)
(gtk_icon_view_get_column_spacing, gtk_icon_view_set_margin)
(gtk_icon_view_get_margin): Add docs.
* gtk/gtkcellview.c (gtk_cell_view_get_displayed_row):
Add docs.
Owen Taylor [Thu, 17 Mar 2005 01:54:40 +0000 (01:54 +0000)]
Switch set_cairo_target() virtual function to ref_cairo_surface()
2005-03-15 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkpixmap.c gdk/gdkwindow.c
gdk/x11/gdkdrawable-x11.c gdk/x11/gdkpixmap-x11.c gdk/x11/gdkwindow-x11.c
gdk/gdkinternals.h: Switch set_cairo_target() virtual function to
ref_cairo_surface()
* gdk/gdkdrawable.h gdk/gdkdraw.h: Switch set_cairo_target() virtual
function to create_cairo_context()
* gdk/gdkwindow.c: Clear double buffer pixmaps with Cairo.
* gdk/x11/gdkwindow-x11.c: Keep all components in GdkWindowObject.bg_color,
not just the pixel.
* tests/testcairo.c: Update for create_cairo_context()
* gdk/gdkdraw.c (gdk_draw_trapezoids, gdk_draw_glyphs[_transformed]):
Reimplement in terms of Cairo, bypass the vtable entries.
* gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkdisplay-x11.[ch]
gdk/x11/gdkgc-x11.c gdk/x11/gdkpango-x11.c
gdk/x11/gdkprivate-x11.h gdk/x11/Makefile.am: Remove
implementation of draw_trapezoids / draw_glyphs[_transformed].
* gdk/gdkpango.c: Switch GdkPangoRenderer to use Cairo
* gdk/gdkpango.c gdk/x11/gdkpango-x11.c: Move
gdk_pango_context_get_for_screen() into the backend independent code.
* gdk/x11/gdkdrawable-x11.[ch]: Remove Xft use, use RENDER directly
for drawing images.
* gdk/gdkdrawable.h gdk/x11/gdkdrawable-x11.c: Remove
gdk_draw_rectangle_alpha_libgtk_only.
* gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c: Add
gdk_pixbuf_set_as_cairo_source()
* gdk/gdk.symbols: Update
* gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkruler.[ch]
gtk/gtk[hv]ruler.c: Convert to Cairo rendering.
* gtk/gtkstyle.c (gtk_default_draw_check, gtk_default_draw_focus,
gtk_default_draw_option): Switch to Cairo. Simplify the checkbutton,
radio button style for now to get something more scalable.
* gtk/gtksettings.c: #if 0 out the code to use PangoXft for hinting/
antialiasing/dpi settings.
Matthias Clasen [Wed, 16 Mar 2005 07:16:29 +0000 (07:16 +0000)]
Also demonstrate GtkCellRenderer::editing-started and separators.
2005-03-16 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/editable_cells.c: Also demonstrate
GtkCellRenderer::editing-started and separators.
Manish Singh [Wed, 16 Mar 2005 04:36:05 +0000 (04:36 +0000)]
Shut up CVS
Manish Singh [Wed, 16 Mar 2005 04:35:33 +0000 (04:35 +0000)]
#include gdkaliasdef.c here too.
Tue Mar 15 20:34:33 2005 Manish Singh <yosh@gimp.org>
* gdk/x11/gdkinput-xfree.c: #include gdkaliasdef.c here too.
Matthias Clasen [Wed, 16 Mar 2005 03:17:27 +0000 (03:17 +0000)]
Make PLT-reduction work with gcc4, and don't include everything in
2005-03-15 Matthias Clasen <mclasen@redhat.com>
Make PLT-reduction work with gcc4, and don't include
everything in gdkalias.h:
* gdk/gdk.symbols: Group symbols by header and source file.
* gdk/makegdkalias.pl: Protect definitions by the same
preprocessor symbols used to guard the headers. Move
the alias declarations to a separate file which is
produced when calling makegdkalias.pl -def
* gdk/Makefile.am (gdkaliasdef.c): Add a rule to generate this
file.
* gdk/*.c, gdk/x11/*.c: Include gdkalias.h after the other
headers, include gdkaliasdef.c at the bottom.
Tor Lillqvist [Wed, 16 Mar 2005 02:21:14 +0000 (02:21 +0000)]
gdk/win32/gdkprivate-win32.h Drop global variable _gdk_root_window, just
2005-03-16 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkprivate-win32.h
* gdk/win32/*.c: Drop global variable _gdk_root_window, just call
GetDesktopWindow(). Rename the GdkWindow* _gdk_parent_root to
_gdk_root.
* gdk/win32/gdkwindow-win32.h (GdkWindowImplWin32): Add
toplevel_window_type field.
* gdk/win32/gdkwindow-win32.c: As there is only one root
window in GDK on Win32, we can compare directly to _gdk_root
instead of checking the window type.
(gdk_window_reparent): When reparenting a child of the desktop
clear out the window decorations. Correspondingly, when
reparenting to the desktop, add decorations. As in the X11
backend, save the window type of a toplevel window when
reparenting, in case it is reparented back to toplevel.
Tor Lillqvist [Wed, 16 Mar 2005 01:38:57 +0000 (01:38 +0000)]
Print debugging output only if asked for, not always.
2005-03-16 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdisplay-win32.c (_win32_on_clipboard_change): Print
debugging output only if asked for, not always.
* gdk/win32/*.c: Use the %+d%+d format for coordinate pairs in
debugging printout instead of +%d+%d. Misc other additions and
cosmetic improvements to debugging printouts. Use API_CALL() and
GDI_CALL() macros in more places.
* gdk/win32/gdkwindow-win32.c (gdk_window_move, gdk_window_resize,
gdk_window_move_resize): To detect child windows, check whether
the real parent is not the desktop window, instead of relying on
the GDK window type being GDK_WINDOW_CHILD. Foreign GtkPlug
windows have a GDK window type GDK_WINDOW_FOREIGN, but are still
de facto child windows.
Matthias Clasen [Tue, 15 Mar 2005 16:33:43 +0000 (16:33 +0000)]
Add an example for manually setting up a group of actions.
2005-03-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkradioaction.c (gtk_radio_action_get_group): Add an
example for manually setting up a group of actions.
Matthias Clasen [Tue, 15 Mar 2005 15:00:11 +0000 (15:00 +0000)]
Document that inline completion requires text-column to be set.
2005-03-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
Document that inline completion requires text-column to be set.
(gtk_entry_completion_compute_prefix): Return NULL if text-column
is not set.
* gtk/gtkentry.c (check_completion_callback): Call
gtk_entry_completion_complete() before inserting the prefix,
otherwise the prefix may depend on (random) state of the
filter model.
Anders Carlsson [Tue, 15 Mar 2005 13:18:25 +0000 (13:18 +0000)]
Update spec.
2005-03-15 Anders Carlsson <andersca@imendio.com>
* docs/iconcache.txt:
Update spec.
* gtk/gtkiconcache.c: (find_image_offset),
(_gtk_icon_cache_get_icon_flags), (_gtk_icon_cache_add_icons),
(_gtk_icon_cache_get_icon), (_gtk_icon_cache_get_icon_data):
* gtk/gtkiconcache.h:
Update to be able to fetch pixbuf data and icon metadata.
* gtk/gtkicontheme.c: (theme_lookup_icon), (gtk_icon_info_free),
(icon_info_ensure_scale_and_pixbuf):
Use new cache functions.
* gtk/updateiconcache.c: (foreach_remove_func), (load_icon_data),
(maybe_cache_image_data), (scan_directory), (write_pixdata),
(get_image_meta_data_size), (get_image_pixel_data_size),
(get_image_data_size), (get_single_node_size), (get_bucket_size),
(write_bucket), (main):
Update to write pixbuf data as well as information from .icon
files.
Tor Lillqvist [Tue, 15 Mar 2005 02:07:08 +0000 (02:07 +0000)]
New debugging function. As GetKeyNameText() returns a localized key name
2005-03-15 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkmain-win32.c (_gdk_win32_key_to_string): New
debugging function. As GetKeyNameText() returns a localized key
name we need to convert it to UTF-8.
* gdk/win32/gdkprivate-win32.h: Declare it.
* gdk/win32/gdkevents-win32.c: Use it.
* gdk/win32/gdkwindow-win32.c (gdk_window_new_internal): Fix
handling of children of foreign windows. They should be child
windows from Windows's perspective, even if they are toplevel GDK
windows.
Matthias Clasen [Mon, 14 Mar 2005 19:37:00 +0000 (19:37 +0000)]
Make PLT-reduction work with gcc4, and don't include everything in
2005-03-14 Matthias Clasen <mclasen@redhat.com>
Make PLT-reduction work with gcc4, and don't include
everything in gdk-pixbuf-alias.h:
* gdk-pixbuf.symbols: Group symbols by header and source file.
* /makegdkpixbufalias.pl: Protect definitions by the same
preprocessor symbols used to guard the headers. Move
the alias declarations to a separate file which is
produced when calling makegdkpixbufalias.pl -def
* Makefile.am (gdk-pixbuf-aliasdef.c): Add a rule to generate
this file.
* *.c: Include gdk-pixbuf-alias.h after the other headers,
include gdk-pixbuf-aliasdef.c at the bottom.
Ivan, Wong Yat Cheung [Sat, 12 Mar 2005 22:09:54 +0000 (22:09 +0000)]
A further fix for big window support. Now also the test in testgtk works.
2005-03-13 Ivan, Wong Yat Cheung <email@ivanwong.info>
* gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): A further fix
for big window support. Now also the test in testgtk works.
Matthias Clasen [Sat, 12 Mar 2005 04:21:42 +0000 (04:21 +0000)]
Make it compile
Matthias Clasen [Sat, 12 Mar 2005 04:00:12 +0000 (04:00 +0000)]
Don't crash on style changes. (#169334, Yury Puzis)
2005-03-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (add_credits_page): Don't crash on
style changes. (#169334, Yury Puzis)
Matthias Clasen [Sat, 12 Mar 2005 03:38:31 +0000 (03:38 +0000)]
Fix the doc comments. (#169967, Masao Mutoh)
2005-03-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkicontheme.c (gtk_icon_theme_set_custom_theme): Fix
the doc comments. (#169967, Masao Mutoh)
Ivan, Wong Yat Cheung [Fri, 11 Mar 2005 23:50:21 +0000 (23:50 +0000)]
Big window fix for Win32. Big windows are still emulated within 16-bit
2005-03-12 Ivan, Wong Yat Cheung <email@ivanwong.info>
Big window fix for Win32. Big windows are still emulated within
16-bit coordinate limits, though. Big windows now work on NT-based
Windows. (#169989)
* gdk/win32/gdkgc-win32.c (_gdk_win32_gdkregion_to_hrgn): Use
32-bit coordinates.
* gdk/win32/gdkgeometry-win32.c: Largely rewrite.
* gdk/win32/gdkwindow-win32.c: Minor related changes.
Matthias Clasen [Fri, 11 Mar 2005 04:32:01 +0000 (04:32 +0000)]
Fix a doc typo. (#169873, Johan Dahlin)
2005-03-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_insert_with_valuesv):
Fix a doc typo. (#169873, Johan Dahlin)
Matthias Clasen [Fri, 11 Mar 2005 04:28:13 +0000 (04:28 +0000)]
Don't try to focus the default_widget if there is none. (#169881, Thomas
2005-03-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_map): Don't
try to focus the default_widget if there is
none. (#169881, Thomas Leonard)
Tor Lillqvist [Thu, 10 Mar 2005 19:13:19 +0000 (19:13 +0000)]
gdk-pixbuf-core.h gdk-pixbuf-io.c Implement DLL ABI stablility for
2005-03-10 Tor Lillqvist <tml@novell.com>
* gdk-pixbuf-core.h
* gdk-pixbuf-io.c
* gdk-pixbuf.symbols: Implement DLL ABI stablility for
gdk_pixbuf_save() and gdk_pixbuf_savev(). (#167973)
Manish Singh [Thu, 10 Mar 2005 03:21:28 +0000 (03:21 +0000)]
Remove inadvertent gail references, require Pango 1.9.0
Wed Mar 9 19:20:44 2005 Manish Singh <yosh@gimp.org>
* configure.in: Remove inadvertent gail references, require
Pango 1.9.0
Matthias Clasen [Wed, 9 Mar 2005 19:39:50 +0000 (19:39 +0000)]
Bump GLib requirement